package org.yournamehere.client;

import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.types.Overflow;
import com.smartgwt.client.widgets.Img;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.HLayout;
import com.smartgwt.client.widgets.layout.VLayout;
import com.smartgwt.client.widgets.tab.TabSet;

public class MainEntryPoint implements EntryPoint {
        VLayout Cabezera;
        VLayout Principal;
        HLayout Cuerpo;
        HLayout Navegador;
        HLayout Panel;
        TabSet topTabSet;

    public void onModuleLoad() {
        Principal = new VLayout();
        Principal.setWidth100();
        Principal.setHeight100();
        Cabezera = new VLayout();
        Label cabez = new Label();
        cabez.setContents("UNIVERSIDAD CATOLICA SAN PABLO");
        //Img tImg1 = new Img("pieces/48/pawn_blue.png", 48, 48);
        //cabez.setImage("imagen", "WEB-INF/classes/org/yournamehere/client/Header.PNG");
        //cabez.setIcon("WEB-INF/classes/org/yournamehere/client/Header.PNG");
        //cabez.setSkinImgDir("WEB-INF/classes/org/yournamehere/client/Header.PNG");
        //cabez.setBackgroundImage("WEB-INF/classes/org/yournamehere/client/Header.PNG");

        cabez.setAlign(Alignment.CENTER);
        cabez.setOverflow(Overflow.HIDDEN);
        cabez.setHeight("20%");
        cabez.setShowResizeBar(true);
        Cabezera.addMember(cabez);
        Cuerpo = new HLayout();
        Cuerpo.setHeight("80%");
        Navegador = MenuPrincipal.getLayout();
        Navegador.setWidth("20%");
        Panel = ventana.getLayout();
        Cuerpo.addMember(Navegador);
        Cuerpo.addMember(Panel);
        Principal.addMember(Cabezera);
        Principal.addMember(Cuerpo);
        Principal.draw();
    }

}